/**************************************************************************************************
| Scritter Script
| http://www.scritterscript.com
| webmaster@scritterscript.com
|
|**************************************************************************************************
|
| By using this software you agree that you have read and acknowledged our End-User License 
| Agreement available at http://www.scritterscript.com/eula.html and to be bound by it.
|
| Copyright (c) 2009 ScritterScript.com. All rights reserved.
|**************************************************************************************************/

These are the steps for installing a new language, we will be doing an example for Greek.

1. Convert one of the provided languages in the include/lang folder (english, spanish or french) into Greek, naming the newly converted language greek.php


2. Open include/config.php

Find:
elseif ($_REQUEST['language'] == "spanish")

Add Above:
elseif ($_REQUEST['language'] == "greek")
{
	SESSION_REGISTER("language");
	$_SESSION[language] = "greek";
}


Find:
elseif ($_SESSION['language'] == "spanish")

Add Above:
elseif ($_SESSION['language'] == "greek")
{
include("lang/greek.php");
}


3. Open themes/footer.tpl

Find:
<option value="spanish" {if $smarty.session.language eq "spanish"}selected{/if}>{$lang340}</option>

Add Above:
<option value="greek" {if $smarty.session.language eq "greek"}selected{/if}>Greek</option>



4. Upload the greek.php to the /include/lang/ folder.


The greek language would now be installed.